﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace EFong.Contract
{
    [DataContract]
    public class NewInsurancePolicy
    {
        private List<Contract.InsurancePolicy> _insurancePolicyList = new List<InsurancePolicy>();
        [DataMember]
        public List<Contract.InsurancePolicy> InsurancePolicyList
        {
            get { return _insurancePolicyList; }
            set { _insurancePolicyList = value; }
        }

        private string _paymentType = string.Empty;
        [DataMember]
        public string PaymentType
        {
            get { return _paymentType; }
            set { _paymentType = value; }
        }

        private BankAccount _bankAccount;
        [DataMember]
        public BankAccount BankAccount
        {
            get { return _bankAccount; }
            set { _bankAccount = value; }
        }
    }
}
